package com.tcm.prescribe.api.domain.dto;

import java.io.Serializable;
import java.math.BigDecimal;

public class PrescribeDrugsDTO implements Serializable {

    private Long id;

    private Long userId;

    private Long prescribeId;

    private String drugsNo;

    private String specs;

    private String name;

    private Integer quantity;

    private String unit;

    private BigDecimal salePrice;

    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPrescribeId() {
        return prescribeId;
    }

    public void setPrescribeId(Long prescribeId) {
        this.prescribeId = prescribeId;
    }

    public String getDrugsNo() {
        return drugsNo;
    }

    public void setDrugsNo(String drugsNo) {
        this.drugsNo = drugsNo;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

}